using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._CartographyTools._CartographicRefinement
{
    /// <summary>
    /// <para>Set Control Point At Intersect</para>
    /// <para>Creates a control point at vertices that are shared by one or more line or polygon features. This tool is commonly used to synchronize boundary symbology on adjacent polygons.</para>
    /// <para>在一个或多个线或面要素共享的折点处创建控制点。此工具通常用于同步相邻面上的边界符号系统。</para>
    /// </summary>    
    [DisplayName("Set Control Point At Intersect")]
    public class SetControlPointAtIntersect : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public SetControlPointAtIntersect()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_line_or_polygon_features">
        /// <para>Input Features</para>
        /// <para>The line or polygon feature layer.</para>
        /// <para>线或面要素图层。</para>
        /// </param>
        public SetControlPointAtIntersect(object _in_line_or_polygon_features)
        {
            this._in_line_or_polygon_features = _in_line_or_polygon_features;
        }
        public override string ToolboxName => "Cartography Tools";

        public override string ToolName => "Set Control Point At Intersect";

        public override string CallName => "cartography.SetControlPointAtIntersect";

        public override List<string> AcceptEnvironments => ["cartographicPartitions"];

        public override object[] ParameterInfo => [_in_line_or_polygon_features, _in_features, _out_representations];

        /// <summary>
        /// <para>Input Features</para>
        /// <para>The line or polygon feature layer.</para>
        /// <para>线或面要素图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_line_or_polygon_features { get; set; }


        /// <summary>
        /// <para>Input Secondary Features</para>
        /// <para>The line or polygon feature layer with features coincident to the input features.</para>
        /// <para>具有与输入要素重合的要素的线或面要素图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Secondary Features")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _in_features { get; set; } = null;


        /// <summary>
        /// <para>Updated Input Features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Input Features")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_representations { get; set; }


        public SetControlPointAtIntersect SetEnv(object cartographicPartitions = null)
        {
            base.SetEnv(cartographicPartitions: cartographicPartitions);
            return this;
        }

    }

}